package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.StatementItem;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Author WaveHi
 * @Date 15/11/2021 上午 8:57
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
public interface StatementItemService extends IService<StatementItem> {
    StatementItem getStatementItem(Long id);

    TablePageInfo<StatementItem> getAllStatementItems();

    TablePageInfo<StatementItem> getPartOfStatementItems(Long statementId);

    Boolean addItems(List<StatementItem> statementItems);

    Boolean pay(Long statementId);
}
